package collect

type PushTitle = string

const (
	collectConfigFilenameSuffix = "_collect_config.json" // 哨兵配置
)

// 机器人公共配置
const (
	// 自定义消息类型
	ErrLogTitle PushTitle = "【大佬们 (%s) %s】"
	MsgTitle    PushTitle = "【普通消息】"
)

// email 默认配置
const (
	defaultSmtpServer   = "smtp.qq.com:587"
	defaultSendUserName = "xuesongtao512@qq.com"
	defaultSendPassword = "uuasocrvlrufbdif"     // 授权码
	defaultFrom         = "xuesongtao512@qq.com" // 发件人
)

// 钉钉配置
const (
	// 文本 (text)、链接 (link)、markdown(markdown)、ActionCard、FeedCard
	TextForReq       = "text"
	MarkdownForReq   = "markdown"
	LinkForReq       = "link"
	ActionCardForReq = "ActionCard"
	FeedCardForReq   = "FeedCard"
)

type PushParam struct {
	Title   PushTitle
	Content string
}
